import { createStore,applyMiddleware } from 'redux'
import reducer from '../reducers/index'//后面的/index可省略
import thunk from 'redux-thunk'
// import logger from 'redux-logger'

const store = createStore(reducer,applyMiddleware(thunk))
export default store;

